package com.kingdee.eas.test;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class CompanyFactory
{
    private CompanyFactory()
    {
    }
    public static com.kingdee.eas.test.ICompany getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.test.ICompany)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("C36EC779") ,com.kingdee.eas.test.ICompany.class);
    }
    
    public static com.kingdee.eas.test.ICompany getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.test.ICompany)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("C36EC779") ,com.kingdee.eas.test.ICompany.class, objectCtx);
    }
    public static com.kingdee.eas.test.ICompany getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.test.ICompany)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("C36EC779"));
    }
    public static com.kingdee.eas.test.ICompany getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.test.ICompany)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("C36EC779"));
    }
}